....am I right to continue this here?
# troubleshooting
t
....am I right to continue this here?
n
Here's a brand new thread for you! Please keep the discussion for this problem in this thread.
n
yep
So, you're running the command from inside the running container?
i.e. the LLDAP server is running, right?
you didn't replace the entrypoint or the command of the container, but you connected to the running container?
docker exec -it <my_container> bash
If you used something like
docker run ...
that creates a new container, so localhost is not going to work
t
.....welll, it's podman, but replace docker with podman, and that's where I am
...I'm in the running container.
n
okay, so you have an LLDAP server running on the default port
t
using the the admin portal, I canged the admin password (without thinking it through) on the admin portal.
n
oh, right, earlier I pointed you to :3890 but that's the LDAP port, you want the TCP port
t
....but the container is up and running using the original admin password
n
so, 17170
t
...new error!
Error: While logging in Caused by: expected value at line 1 column 1
n
what are you running? what parameters?
t
./lldap_set_password -b http://localhost:17170/ --admin-username admin --admin-password --username admin --password
...and also
./lldap_set_password -b http://localhost:17170/ --admin-username --admin-password --username admin --password
x
your trailing slash
t
you are quite correct.
...that has now executed correctly, and a ldap search returns results using the original admin password
n
Seriously, it was
-b http://localhost:17170
the solution?
t
....seems to be, it was the only thing I changed bettween it not working, and it working
n
erf, that's not ideal. Could you open an issue to remind me to handle that more gracefully?
t
will do.
Thank you for the support...much appreciated.